Change assertRegexMatches to assertRegex