added test for querying and removed old requirejs file