Added tests for Authorization