Empty ring buffer test