fixed rankof tests