Added test for treatEmptyStringsAsNull option