adding message listening endpoint tests