Added missing zero-rank equality test plus additional size test