Add test of ping buffering