Added jasmine and qunit tests, to be used with Grunt (refactor later)