Adding tests for dm-test