fixed url generation test
fixed test for path matching