Added extra verification for few test cases.