documentation and test cases update