Minor bugfix

fixed CacheTest.test_noroot() when running as root