- Update test cases and mock connection code.
- Fixed a bug that was outputting switch values to the wrong port