test/.../delayed_call.cpp: throw runtime_error on test case failure

To have a more clear indication that a test failed, throw runtime_error
if the test fails, rather than just printing an error message.

For simmetry with other test cases.

Strategy to be refined later, when we'll switch to a unit test framework.