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