smw setter test and stub