Add round-tripping integration tests for ValueFactory