Fit() in simpleapi sets additional properties in correct order.

Re #6621.
Added a test for this case. Re #6621.
Merge branch 'feature/6621_multi_domain_fit' into develop