Seperated out spec into shared examples. Fixed delete bug