This function is only used by a single unit test and makes it more difficult to read how isolates get created on different platforms.
This function is only used by a single unit test and makes it more difficult to read how isolates get created on different platforms.