Fixes for command line validation
Merged test refactor
Style cleanup.
Merge from upstream.
Cleanup after merge.
Else style cleanup.
Merge pull request #19 from arb/validation

Validation
fix newline issue
Merge pull request #23 from lloydbenson/master

fix newline issue
make this test work on 11 as well err code changed apparently
Merge pull request #25 from lloydbenson/master

make this test work on 11 as well err code changed apparently
Pulled from master.