refactoring and adapt DataSetTest->testToTriples