much better testing refactor utilizing fakefs