unit test for LibVMI cache