**Is your feature request related to a problem? Please describe.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> Code coverage of the cleartokens management command has been 0% since it was created in 2015. **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> Write a test for the cleartokens command. **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> It's not core functionality so could continue to have 0% coverage but it would be nice to add. **Additional context** <!-- Add any other context or screenshots about the feature request here. --> See also #969