Added communication unittests