add errer input params test for kv; fix typo for t_kv.go