Added unit tests for update dialog.