Introducing Mockjax and PhantomJS to the testing