Fix failing spec and remove redundant "encoding: utf-8".