TST: Add history to replace_cat
update notes