Adding query serialization tests for conditional updates.