I think unix sockets are a good first step. But it's still a moving part, and a race condition which requires a timeout etc. Eventually I think we can move 90% of the API tests from *integration* tests to *unit* tests.