ported test-suite to Php5.3