update test and documentation