Test with characters

Merge these two similar tests into one.