writing unittests for connection and communicator