Added test to validate created bean xml against XSD.