clitest: refactored 2 more permission tests