Change generated valid attributes
Added spec for deleting todos