fixed miss in running tests using npm