add comments on expected exceptions