[blivet:f21-branch 06/14] Refactor mdraid tests.