Added testcases for dataSource directive