Fix auto-generated main not importing tested when using tested for running tests.