added test and fix to check for default null on ArrayField