test that extension samples are of correct type, e.g. mask is integer