update tests

Php 5.3 compatible

Update tests