Fixed the test case for User-Agent - apparently, te is upper-cased whatever its initial case.