added some tests for cacheid and cache