Bug fix: error when launching tests in node