Implemented to write test result summary to a txt file.

Here's the `fs-extra` documentation: https://github.com/jprichardson/node-fs-extra