This is a cleaner and modified version of node-raket Unit testing There's an example project in /examples/ that accepts the message ID_CONNECTION_REQUEST for Lego Universe.