Added authorized method test