Add unit test for hotplug enumaration