JSTPEndpoint: setToPattern getToPattern; JSTPDispatch test for getAsEndpoint