Add spawn test. Hangs most of the time on linux x64 at least.
Merge pull request #1121 from EXetoC/spawn-test

Add spawn test. Hangs most of the time on linux x64 at least.