added tests for rm and rm-rf