Fixed false usage of promises in query test module. All green again