spawn cleanup
added spawn documentation and rmrfing in test