test(): fix phantomjs test problems for CircleCI