added cache tests