fix public write swift container tests