bug fix Unit test to work on PHP 5.3.X