dt_* code: added tests, updated graphics
closes #17