Added test for custom extra attributes.