moving to should from chai
fixing invalid reference error with delete method