GEOT-4950: Adding test for write
Merge pull request #616 from dromagnoli/GEOT-4950

GEOT-4950: Adding test for write