Added damage component
Component damage fix
Add component damage tests and component damage fix