Improve validate without predicates tests
Add test helper module