Added example for testing exceptions
Added some more test examples