Attempt of bringing in the unit test for PermissionController.