Add new findAll testcase for Query function.