Fixing expectException usage.