test DiskBackedQueue switching to read-only mode