Formatting fixes, code cleanup
Completed UNIT tests.
Added autosample and error INT tests.