Completed and fixed RingBuffers, added SharedRingBuffer (WIP) and added RingBuffer test