updated queryLib tests to not fall over