When i summoned an Ender Dragon in Minecraft Snapshot 14w29b in the Overworld, its flying "skipped". I also summoned it with Invulnerability:1 and I could still kill it. I don't know if the Invulnerability command isn't working or it just doesnt work the Ender Dragon.
if in creative then hurting it is intended