Improve devmapper unit tests with syscall/ioctl