Testing and relaxing the exclusion restriction in the control function approach