Update tests to latest best practices
use ark cookbook to deploy phantomjs
Fix rubocop
Update ubuntu supported platform