Fix for junit tests.
Merge pull request #6 from integralads/fb/junit_tests_fix_with_hadoop2

Fix for junit tests.