Make tests work with phantomjs
0.0.6