Fix Attribute enum on 32-bit platforms
Add test recipe