datalayer and querybuilder mock