added more tests for print_communication_matrix