Steps to reproduce:
1.
/summon MinecartCommandBlock ~ ~ ~ {CustomName:"Test"}
2. Punch it.
3. Note that it will drop a renamed minecart, not a command block minecart.
Steps to reproduce:
1.
/summon MinecartCommandBlock ~ ~ ~ {CustomName:"Test"}
2. Punch it.
3. Note that it will drop a renamed minecart, not a command block minecart.
Can confirm. Also happens randomly within custom name (at least for me).