The last group of the PathPattern wasn't matching the remaining path, causing problems in later module,
added test in the core moudle to make sure that is it picked up properly.