* Fixed the bug that can not remove file from parent directory.
 + Added a unit test to verify the above bug