add unlink() and test case.