Am testing an authorization function.