test for a potential bug in phantomjs-node