few more tests and updated documentation