Add unit test for IGpio implementation.