created test for gpio.c