test(ok). correct doc and add todo regards defintions and needs of rankId, left, right