cluster/message: added a test for issue 5330

There is a race condition in Node v0.10 that crashes a worker when
receiving a message while starting listening to a port.
This commit adds a test to try to detect this bug.