fix a doc, add ::getElements() + tests