Just to be complete (implementing the device + having a test for it). It is basically not very useful, I can drop it if you want.