spelling mistake
removed set
added more spec
moved delete below raise