small test fixs and doc