* remove query/q remove and fixed tests for removed func * paren fix
We introduced the new loop keyword as a replacement for with without adding tests that it behaved as we expected. This test asserts that behaviour. Incidentally, it also shows how to use parameters with lookups and loops now.