Merge "Adding tests to parse document attributes from the DOM."