Test for findAll and like queries.