Silencing console.warns in tests
fs mock
Rewiring module to use mock in tests
More tests