Notify the test runner when tests are complete

This should resolve the notifyDone timeout issue. It is kinda hacky, polling
all tests every 100ms until all are complete, but it seems to work.