add test case for capture group replacement in URLFor