Extract Query test suite to test/src/query.coffee from test/src/xs_core.coffee