Basic tests for exception handling
Unified interface to test examples