excercise 3, inhertiance tests