add test response handler