Use `assert` and `assert_not` when testing predicates