The point of the test was to test a SYSTEM on the same machine, not just the app - db and app are on the same machine by design, not mistake.
Tests on the other hand were executed on multiple different machines - it's all described in the article. Sleep works properly, because there's an unbounded thread pool that makes http request - each request has its own virtual thread.