Adding latency tests