Added the AuthorizeCommand UT and fleshed out the IT