Minor fix in the example.
Fix a unspecified behavior in the tests.
Various spellings.