async def test_doctest_usage():
    """simpler to run test to mirror what is in the doctest"""
    with NatsContainer() as nats_container:
        client = await nats_connect(nats_container.nats_uri())
        sub_tc = await client.subscribe("tc")
        await client.publish("tc", b"Test-Containers")
        next_message = await sub_tc.next_msg(timeout=5.0)
        await client.close()
    assert next_message.data == b"Test-Containers"
simpler to run test to mirror what is in the doctest
modules/nats/tests/test_nats.py