test: Remove a race in check-storage.