Test code for GPIO