cleanDB(context.getBean(DataSource.class));
final PersistentScottyEngine engineRed = context.getBean("persistent.engine.red",PersistentScottyEngine.class);
final PersistentScottyEngine engineBlue = context.getBean("persistent.engine.blue",PersistentScottyEngine.class);
final BackChannelQueue backChannelQueue = context.getBean(BackChannelQueue.class);
engineRed.startup();
engineBlue.startup();
try {
assertEquals(EngineState.STARTED,engineRed.getEngineState());
assertEquals(EngineState.STARTED,engineBlue.getEngineState());
for (int i=0; i<NUMB; i++) {