Fix tests + use ark to deploy phantomjs

based on #24

Ark part is used for 1y here: https://github.com/Youscribe/phantomjs-cookbook/commit/81b33f0c15f54d734b90dfc83de24f7ac27a14f3