Add a more complicated test for Isolate

The test currently fails, but should pass once Isolates are supported.