And I there is a unittest in this patchset named test_Virshperisistent.

This unittest is similar with the case above.

Maybe you are intrested in taking a look at it.

:)