Create a test for the setpermissions widget