Test custom attributes pass through correctly