Add where and findWhere functions and tests

Split Test files