Fixed HeaderBag unit test for PHP 5.2