more test and docs