service builder error handling and testing

Merged Mahendra Vishwakarma requested to merge serviceBuilder_testing into devbranch

Added error handling and test cases.

Merge request reports