minor test changes
made some corrections to the DT algorithm. Closes #5