$test[0] will show you the first value, $test[1] the second... etc
Or you can find out what the array contains by using
{$test|attribute(show)} you can change the depth it shows like this {$test|attribute(show,1)} for 1 level deep, {$test|attribute(show,2)} for two levels deep..... etc