added test delete functionality and cleaning up tests
cleaned up tests