changed assert_match order to (regex,string) for ruby 2.0 compability