Modified tests so they no longer check a string with a regular expression.