Run docs tests under phantomjs