modular: added some basic assertion tests for exceptions