added gpio write test