Multivalue reference tests

Added multivalue reference test
Probably not.