Removed the need to call Authorize.initialize and added unit testing