Fixed optproblem test.
Fixed test_distsim tests to reference objective by name and not pseudo component name.