gpio tests. See evernote gpio notes for details