Added Source domain class with test cases