Change spec to use regular expression instead of testing for full string