[permissions] Added Test Cases