Change test add one critetion to filter by validation_state instead of use reference hardcoded. Also, the test predicate returns False when this criterion does not match