Reformat jshint globals into a single line.
Refactor 'fs' property test to be asynchronous.
Inject fakefs before each writeFile() test and clean up afterwards.
Add test for promise resolution in a successful writeFile() call.