html/hardware: Add test function for hardware debugging

Signed-off-by: Kai Blin <kai@samba.org>