Fix tests

err.String -> err.Errors