match -> test

Using RegExp method `test` because this is what is wanted
URL -> url
Merge pull request #653 from fabiomcosta/patch-3

match -> test