test for nodejs restart