Fix errors in circular_buffer tests(refs #7888).