Ashwin/Pooja | #2298 | Optimising tests in data_sender_tests