Tests up and running

(PhantomJS finally installed on my machine after
 rm -r /tmp/phantomjs && npm cache clean)