Add test environment for mocha-phantomjs and example files.