Fix broken spawn daemon test