added cache_in test, changed docs