Added test for writing merged ini files