Code-quality nits flagged in review of e6d965d. Mirrors the existing pattern in host_credentials_test.go.
e6d965d