buffer test added to unit tests