A preview test was failing on oracle because, by creating a test file, it was inserting an empty string into oc_permissions.user, oracle handles empty strings as null. @butonic suggested to allow oc_permissions.user to be null