ALM-196 aded functional tests for caching