Adds rolling shut down test and the unit tests related to it

Please review (rolling failure tests not passing).