Add TestUnauthorizedException

-100% code coverage
-Comment clean up