Add more permission unittests