When I use the /testfor command to detect rotten flesh, it does not function. The command is use is as follows: /testfor @e[type=item,name=rotten_flesh] yet to no avail is it detected, even with using the radius variable set to: r=10. Almost every other item works, so far, besides the spider eye, xp orb and rotten flesh.(I haven't tested all)
"name" refers to the actual name of the item, not the ID. The correct use would be