Add test class of RErrorCollector and tuples.