Organizing nested/loop cases into tests