Fixed failing test on php 5.4