Added testing file for PermissionModel