[Yaodan] changed to use PhantomJS to run unit tests