'Check returned metadata is parsed correctly'

def test_cloudsearch_results_meta(self):

    search = SearchConnection(endpoint=HOSTNAME)
    results = search.search(q='Test')
    self.assertEqual(results.hits, 30)
    self.assertEqual(results.docs[0]['fields']['rank'], 1)
