Add tests for exceptional cases (close gh-3).
Ignore unmatchd \E.
Handle unknown unicode charname.
Use 4 spaces instead of a tab and perform other cosmetic changes.
Use initialization instead of repeated pushes.