Extractorapp improving automated testsuite

Adding junit tests for Extractorapp module.

Tests added that bring test coverage from around 1% -> 40-50% coverage.