Fixed deletion tests from Dir class