Switch to assert from assert_predicate
Stub out String#b for Ruby 1.9