Refactor of bugunit testing systems. Add finalize step to tests for catching async test issues.
Fix up issues with new finalize step