use capitalized version of User-Agent (instead of User-agent) for tests also