GpioHandler unittest.