add test scenario support code.