Change thumbnail management command interface to remove switches
Fix/add tests for new clear_ management commands