BS-9707 : org.bonitasoft.engine.process.ProcessExecutionTest.checkStartAndEndDate

- Replace old waiting mechanism by the new (event)
- Move somes tests
- Replace integration tests by unit tests