EclipseWriter: add unit test