test-kpartx: add test for invocation on image file