tests: added latency test