Fix for parameter domain set and new associated tests