`clear` and `append`: abcd `clear` and `add`: ab `add` at `maxlen + 1`: c `append` up to `maxlen + 1`: ab `reverse`: xyz `upper`: foo `lower`: BAR