Add a test exercising the more flexible regex in #3