Added unit test for the helper's rmdirr