testing database latency