Adding django messages as parsley data attributes
Fix tests; added assertAttrsEqual