Finish basic GPIO unit tests

1) Cleanup old code.
2) Add bit set/reset register tests.