Remove debug output
Add test for renaming non-existing category.