added spawn test