Adding tests for deleteAuthorization