added latency tests