Fixed malfunctioning test class in FileHandlerTest