Adding authorization tests