Can you add something like 
```
self.assertTrue("model" in res['hits'][0]['cpu_info'])
```
Just checking the total seems a bit too risky for an integration test.