Added RankTypeTest