Add a test case for routeProvider resolve.