fix querybuilder tests and add new ones for runners