fix test case and add more caches to reference data