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

@rohitsinha54 please review
The one in the mapper. Its protected though. Can it be public ?