Add test for PHP-672