test and docs