Switch to `expect` syntax in util_spec.rb