adding mock_connection_test