dup response check in error
test added for dup error response
response hook