changed StageDialogTest