Assertion failure instead of exit

Calling exit bogs down the whole test run in a test scenario.