Adding unit tests and output for dmoench.