multipath: add unit tests for dmevents code