added integration test for hiding the stage