Multi-value-register

There are some comments in the code and I hope you can understand how it works.
Opinions about the implementation/naming is appreciated!
You are right, this is definitely a mistake. Unfortunately this mistake does not make the test give error so I didn't notice it. I just changed it and the test passed.