add test for Helper#removePath