test: add the rest of the `queryEnabled()` tests
index: fix failing `queryEnabled()` tests