Add tests for client pkg

fwiw, `map[string][]string` is superfluous