rank-seq with some basic tests