Set a proper prefix path, add testcase.