Tests: get rid of the Runnable

It is now unused. Transform the verify* exception methods to take a Callable as
an argument instead.