add remotecache test code