make npm test work on windows, add bail option and update test info on contributing file