CDAP-654: Add a unit test which tests Services integration with MapReduce

@rohitsinha54 please review
@rohitsinha54 added javadoc