Change unit test to Unlink and add test to unlinkAll