I know of a test that can be done, which consists of mounting the bird with your hand, if the bird opens its wings a bit then it's a hen, but this has not always worked, and some birds turned out to be males after giving me the reasons to think they're female. Still, it seemed to work, but this guy here confuses me a lot in that aspect.