tests for v-ref and v-el