def METHOD_NAME(self):
    q = self.file.query()
    total = q.count()
    self.assertGreater(total, 0)
    self.assertEqual(len(q), total)
    for limit in [1, 10, 1000]:
        q = self.file.query(limit=limit).filter(hgnc_id='HGNC:5')
        self.assertEqual(len(q), 1 if limit > 0 else 0)
        # invalid filter
        q = self.file.query(limit=limit).filter(hgnc_id='foo')
        self.assertEqual(len(q), 0)