Multivalue reference tests

Added multivalue reference test
Should probably add a new test rather than change the existing one: you indeed added a new particular case here