Tested parsing nested tags with attributes and contents correctly