fix static test phantomjs with chai issue