fixes docs
added tests
updates CHANGES