Fixing tests for php verions >= 5.4.0