start of making dmat unit tests