Use regexps for test output comparison