Add test for flow latency plugin