More tests for query processing

The query processing of !6 (merged) is not properly tested (to keep that branch small and have something to work with for further branches). We need to add some more tests there.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information