Writing a test case for the Point-to-point messaging model