written tests for filelogwriter