bug fixes mostly
small bug fixes to ctl test cmd code
Merge pull request #175 from ehsteve/master

Bug fixes to cmd_send_test_ctl_solution