inserting correct expected exceptions