adding diagnostic tests (firmware)