Hi HuiSheng,
I ran the test cases one by one by right clicking on the method I wanted to run and choosing "Run as junit test" from eclipse. This ensured that they ran in the correct order. It aslo ensured that every time a new processengine is created.
- Jeeves