added AudioRingBuffer unit test

fixed bug with _endOfLastWrite not rolling over in addSilentFrame