Remove code duplication for LocalDistributedExecutorTest
Remove code duplication for BaseWordCountMapReduceTest
Minor clean up
Minor fixes
Do not run OSGi tests in defualt profile