add test for findBy with array