Added more thorough test to CircularBuffer.c and removed a redundant if-else.