working on tests for datatype classes