test and fix "set response header and set"