fixed unit tests for php53