If you rename this to `test_query_with_expectations` (and some other finagling) you should be able to write tests in the following way:

```
class TestWithNestedDicts(BaseIntegrationTestCase):
    input_string = '{"grr": {"hello": [5, 6]}, "snafu": [{"zzz": 6}, {"aaa": 5}]}'
    query_string = '.grr.hello'
    expected_output = [[5, 6]]
```

Not required for this patch, just a suggestion if you'd like to go the extra extra mile.