Wrapped d2dtf()
Modified test to include d2dtf()