implemented text_assertion.rb