Adjust test scripts to avoid warnings
Rename hash context to map

"map" is probably a more general term than "hash" for
an associative data structure.