fixing tests in node mode so we can have travis-ci again