improved test on random persons to check with mixed types