Add unit testing for graphx/user.go (#21962)
Add unit testing for graphx/user.go (#21962)

* Add unit testing for graphx/user.go

* Register enc/dec functions

* Actually use the registered fns in test
chamikaramj/beam,chamikaramj/beam,apache/beam,apache/beam,apache/beam,lukecwik/incubator-beam,apache/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,apache/beam,chamikaramj/beam,apache/beam,apache/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,apache/beam,apache/beam,chamikaramj/beam