Fix small typo in terms lookup tests mapping.

terms -> term and terms -> arr.term as used in the actual tests.  The tests had a mapping defined but were actually using dynamic mapping since docs were indexing with a field name other than what was defined in the mapping.