[#5] Fix CertTest failing in PHP <=5.3