suppress phantomjs error on state.modeTestFail