fixed integration tests for onlyIf validator