Test suit, documentation update and bug fix.

An almost complete test suit was done (just missing the `Element` test, which I haven’t found a way yet).
Documentation up to date, with some more helpful links.
`Element` comparison was broken along the way, this last commit fixes it.