2 JUnit tests for query, adding missing files