Disabled ScanManager and DispatcherManager when in test env