Added tests for ChangeBuffer