Workers cleanup

Cleanup and some bug fixes for Microsoft's workers tests.