The first part of the unit testing framework has been implemented. There's another big unit test which has been commented out, there was an issue with the usage of __dtm_min_v. I just pulled it out for now. I'll get this working tomorrow after the presentation.