improved `spawn` unit test