fixed stupid bug in gpio_test