only use first portion of response text for error messages; updates for failing tests