Overhauled authorizer interface
Added new tests for authorizer