Reintegrate testPauseOnBackButton
Merge pull request #750 from Catrobat/CheckStageDialogTest

Reintegrate testPauseOnBackButton
fixes #722