models/component.rb tests for types_in_calc pass, migration for estimate_components