Added mock and exception examples