when only key, set value
when values split by comma, return in array
add test code