fix nodemon test never exiting