Pedigrees controller working correctly. Some methods are not tested fully but will test them lately.