A hen only has one productive ovary and another that doesnt fully develop. If there is damage to her working ovary the undeveloped one can turn into a teste and the hen will then grow rooster features and begin to crow. Rarely do they produce sperm though.