updates test and docs