Using assertRegex now instead of failIf