Update tests.

- Update .travis.yml to only run tests on PhantomJS.
- Update test.js to be more scalebale.