Adds karma & travis tests.