How to test with regular expressions using assert_match