Modify the buffer test to add margin tests. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>