mock_connection_test.go passes all tests