small modification to add gpio test