Add the permissions manager test