Implement tests for hardware test.