Adding some tests of the KVQuery class