Test module events to session mapping.