Use HashBiMap for wires, implement removeWire(), and add test cases