Bug 895657 - State machines will not work because setupTest() and teardownTest() are only called once at the beginning and end of a module