fine tuning load test
Use defer for better handling of queues in tests. Better benchmark handling.