Adds accuracy test and fixes i18n quote encoding.