Fixed test.js. I should try running things before committing them...