Split tests into source files instead of creating them with a shell script.