test: regression test with custom predicates