Added coverage for multiple init/shutdown.