Improve test coverage for `#in` and `#not_in`

These methods are going to go through some heavy refactoring, and moving
logic around. This adds missing tests for each of the branches on the
predicate.