Added missing tests for communication class