Tests added for shutdown and destroy.