[SPARK-2264][SQL] Fix failing CachedTableSuite