test: compatible with mocha-phantomjs

This patch is going to use `mocha-phantomjs` to automate the headless browser testing for duplo project.

/cc @kenhkan