@Test
public void testNonTdrCollectorInstances() {

	initializeTestSetup(1, 1, 1, true);
	tdrCollectorInstanceWatcher.init();
	assertTrue("Key file was not created.", verifyKeyExists());
	assertTrue("Config file was not created.", verifyConfigExists());
	assertTrue("Config file was not correctly built.", verifyValidConfig(1));
	Instance gate = createInstance(E3Constant.E3GATEWAY, "1.1.1.1", "2.1.1.1", null);
	Instance manager = createInstance(E3Constant.E3MANAGER, "1.1.2.1", "2.1.2.1", null);
	addInstance(gate);
	addInstance(manager);
	assertTrue("Key file did not remain after adding non-collection instances.", verifyKeyExists());
	assertTrue("Config file did not remain after adding non-collection instances.", verifyConfigExists());
	assertTrue("Config file did not remain correctly built after adding non-collection instances.", verifyValidConfig(1));
	deleteInstance(gate);
	deleteInstance(manager);
	assertTrue("Key file did not remain after removing non-collection instances.", verifyKeyExists());
	assertTrue("Config file did not remain after removing non-collection instances.", verifyConfigExists());
	assertTrue("Config file did not remain correctly built after removing non-collection instances.", verifyValidConfig(1));
}