Merge pull request #1 from joseeight/tests

Switching testing to Karma