I understand this is just a test, but is this a desired behaviour? Shouldn't it throw an exception if the underlying map has been destroyed?