updated unit tests
added shutdown command