tarted fixing problem with removing, added tests for init and rm