Add raw and cooked attributes
Add tests for raw/cooked comparisons that now work