Fixed bug in communication_test