Mock hardware devices for creating unit tests and bug reporting