Create query-tests.js