Move track tests into .js files and add a few more expected.txt files.