adding code to add and remove test opcodes in settings.ROLE_OP_CODES