Fix a test to work with php 5.4