Test coverage for management commands