golint
increase internal.Key test coverage