Added unit tests for invalid XML for mechanics/consumable