Added Filewriter Test

Added a test for the plain filewriter