Add test for the composite error model