Added tests for changeset close method.