Restructured unit test to catch more bugs

Specifically:
- Channel reversing
- Incorrect usage of function and channel index
Fix channel index bug causing incorrect reversal

Also fixed bug where channel detection number had off by 1. Also
changed UI to show channel reversal.
Merge pull request #887 from DonLakeFlyer/RadioCal

Radio calibration fixes