Add test case of permission override.