Allow setting multiple fields at once.
Add test for setting multiple fields.