fixes test failure due to rootpath removal