added a test for the scenario shutdown call