Describir: Theory of rank tests