test offline cache