updates to gpio test code