Alright, implemented the teach-in on the "Test" when adding a new device of re-testing it. Implemented an in-memory mapping from hardware ids to software ids