final version of queryexecutor test