fixes queries tests, removes detritus from test/