Issue 877 admin featured

Fixes #877
Also adds some tests to the cache basic functions module that were uncovered