Fix/xml validation

- Ensure "Representatives" node is present
- Render nil on optional attributes
- Use factory girl in the xml generation feature spec(such speedup! :speedboat: :horse_racing:)