Tests, documentation and changes in order [skip ci]