Add a test for the update command.