fixed associated array for variable reference codes

the variable reference code was incorrectly set to the constant
associated code array; updated expected encoder test #1 results