Added unit test, added logging of default buffer size when set.