New Test Suit

New Test Suite:
- [x] isolated standalone `tests/` folder
- [x] use PhantomJS with karma to run tests on terminal instead of browser.
- [x] create & configure .travis.yml file to integrate with travis.