Add an example for expected exception