Fix test breaking in php 5.3