Fix mdadm tests

The changes to the `mdadm` module in #15600 altered the return mdadm calls, breaking the tests. This fixes them.