Add test case for cachedbacl