Set up testing environment

With karma, mocha, and chai