Fixed build warnings in communication_test