Exception examples for unit testing