Fix tests (QUnit.equal causing hang?).
Add .travis file.