testFactorySetsStatus