Add exception assertions