test error is thrown given strands of unequal length