test code detects bad response elements