Fixed the deletion of tempdir in test
Merge pull request #6 from hayajo/fix/unlink_temp_dir

Fixed the deletion of tempdir in test