def test_output_service():
    # Test Output service class
    output = OutputService("out-1")
    assert output is not None

    output.put("1")
    assert output.size() == 1

    val = output.get()
    assert val == "1"
    assert output.size() == 0