with-foreign-ring-buffer macro with delay+buffer-size+freq testing