Statemachine: Moved STD_CHUNK_SIZE to StateMachine object. Added integration test for XmlReader/XmlWriter