require PHP 5.4, update tests