adds more tests for query route