Simplified the test script for the gpio