Submit test changes. Sender info.

- Submit anti spam test optimized and moved to common function
submit_time_test().
- Added function to collect sender info get_sender_info().