Add loopback mount test.
Convert losetup (kpartx) to a context.