Issue #45: Unit tests for lib.__csv added. Save file opens of already opened files are now handeled correctly