Implemented echo latency test.
Session latency test redesigned.
Cosmetic fix.
Changed number of messages.
Added some tests.