Improve a test for createtags management command