added JUnit tests for KVServer