Added commit signal handler for RG opcode and basic test