Test that dictionary terms are returned properly

The prior blind acceptance of $dictionary->term_list(), thanks to being
cast as an array, meant that a result of FALSE was being presented as a
single-element array with no value. So we use a $tmp variable as a
bridge, so that we can confirm that everything went properly.