Add tests to value_of.