add log-change function
log-change tests