Add auth code testing