Mostly inspired by https://github.com/archlinux/libudev0-shim/pull/3 it would be great if have some regression tests. Odds of this breaking are small, but nevertheless. Furthermore if we uncover other issues in the future, we can extend to cover those as well.