refactored deleting checkpoint
installed rspec and set-up tests