'Check that information objects are passed back through the API
correctly.'

def test_cloudsearch_results_matched(self):

    search = SearchConnection(endpoint=HOSTNAME)
    query = search.build_query(q='Test')
    results = search(query)
    self.assertEqual(results.search_service, search)
    self.assertEqual(results.query, query)
