Adds more acceptance tests and fixes high surrogate range.