added testcases for ConsentService