Fixed the test cases and added one for the FileWriter class.
Merge pull request #4 from redchief001/dev

Fixed the test cases and added one for the FileWriter class.