testing spawn execution