tests for rising exceptions