Adding my version of tests for task 3 (pedigree).