Issue #2194357 by alexpott, Berdir: CacheArray::__destruct() invoked after test tables have been removed.