While there's tests for functions used by this function (GetMounts(), Unmount()), there's currently no test coverage for RecursiveUnmount(). We could use some test coverage for this function.
Opening this as a tracking issue, and adding the "help wanted" label, in case someone wants to work on this (please comment below if you want to work on this!)
/cc @kolyshkin