Added test for entity damage event and refactored the vehicle and entity damage events to be more concise.