Add more complete UTF-8 tests. Fixes #3.