Tests

Karma and Jasmine specs