test socket io and phantomjs