Acceptance tests

Fixes #315.
Not forever - until trial stops running the test (120 seconds by default).

I looked at that and saw no appropriate feature - this is not a connection time out but a failure to reach the client. There seems to be a difference (or at least I still had the same error with a massive timeout).