Get function, docs and test