An Ancestry.com test and some online sleuthing revealed a secret five decades old, a lawsuit says.