restored indentation, fix error XMLSerializer, add test