JSTPEndpoint: tests for matchResourcePattern and matchMethodPattern