Assert that handler is not called

This addresses #18
Merge pull request #19 from pangratz/add_assertion

Assert that handler is not called