Test: test exception propagation from generators

failing.
Test: propagate exception in `check()`, fix #43
Merge pull request #50 from blendmaster/test-propagation

Test: propagate exception in `check()`, fix #43