Tests pass with php 5.2