Applies a contributor's fix to the damage extension, and include a new set of tests I wrote for damage.