Fix url_name_args bug.

Fix delete view for motion categories. Add test for custom slide delete view.