[WFCORE-226] DeploymentStatusHandler should read the model correctly
Fix cleanup in DeploymentScannerUnitTestCase