Added more tests for RG opcode