Implemented file save, fixed and improved delete unit tests