Avoid checking boolean equality directly

* Predicate methods should return true or false, and should be tested as
  such
* Custom RSpec matchers are more readable