Attempt to fix segfaults with PHP 5.3.3 by reordering tests