More shutdown-related tests