tries to work  tests on php 5.3