The first urine-based test dates back to 1350 BCE in ancient Egyptian society. Women would pee on a field of wheat and barley. If the wheat sprouted, it was going to be a girl. If the barley sprouted, it was going to be a boy. If neither sprouted, the woman wasn’t pregnant.