made tests php 5.3 safe