rough draft of tests (juan is working on threadpool and kvcache)