Add cache on tests