Testing independence conditions in the presence of errors and splitting effects