update test case in consumer