edit and destroy tests working