added a test for shutdown via init.d script