Fill in some more tests.
Change from 'matches' to 'test' to match RegExp.