Added additional test cases and create service method using BindDynamicMethod.
Fixed issue when building test data.