Unittest for client cache