Testing update, destroy and edit methods