Testing editing and deleting