set(test, INVISIBLE);

use wait(1); after spawning it