tests: add test case for encrypted qcow2 read/write