Multivalue reference tests

Added multivalue reference test