move some doc to tests