Set up unit tests with karma and PhantomJS