Fixes to attribute handling and test script
Fixes to attribute handling and test script

kanarelo/reportlab,Distrotech/reportlab,kanarelo/reportlab,Distrotech/reportlab,kanarelo/reportlab,kanarelo/reportlab,kanarelo/reportlab,Distrotech/reportlab,Distrotech/reportlab,Distrotech/reportlab