added better unit test to children