test for sending 5000 messages