finished the translation of the tests of the ccode to the rcode module