Improve Content attribute validation tests
Fix bug. Check for duplicate components