Made fix to unit test to set masterTariffId