Unit tests for dma implemented and working