Adding more tests for `utils.php`