Working Jasmine/Karma tests.

* tests fail becuase they are sample tests
* will be replacing with Mocha/Chai
Moved to mocha/chai for testing.