Added sketches of rspec test for buffered logger