Fixed unit test for php 5.3