testing message passing and spawning