Refactored and cleaned up tests, modified to make them more reliable when executed from within Java environments.
Corrected license / copyright
Added on-demand file tail capability for stdout and stderr.
Added standard license headers.
Merge pull request #1 from sroysf/master

Test refactor and enhancement