GEOT-4950: Adding test for write