Test some newer features in finalize_values.

The test wasn't updated when these new features were added, so this is
a catchup.