ring-buffer make-ring-buffer support for read-period

test-buffer modified with read-period-p parameter to exercise
above code