Moving the raf stuff into a class rather then functions with gloabl state.
Reworking the test-runner state transitions to make both running and posting only allow one at a time.