move assignment of parameter defaults to where the parameters are declared for resource_source defined type.  adjust tests to pass with this change.