Test for permissions component