Fixed documentation of edge().
Increase code coverage of tests and replaced

rank_bwt -> bwt.rank