add phantomjs test case