Add test for buffered packet printing

Signed-off-by: David Scott <dave.scott@citrix.com>