Test with characters

PR for this at https://github.com/realm/realm-java/pull/582