Adding a test for partialRegex option