[#118] Restore tests/main.js to original file.

This will cause the splash screen to never hide. We will fix this
in the next commit.
[#118] Allow test-runner to auto-patch tests.