documentation improvement and test case