Testing spawn()