Fix typo in test/spawn.jl. Fixes #6628