Fixing regexes in tests.