ring-buffer: Add test to validate the time stamp deltas