Cross model reference

In reply to venkatasubbarao sutrave:

you are using the cfg handle inside the test class which isn’t created in the class .

I fix some of the issues but still long way to go. you are using some of the deprecated items also.