Add context tests, esp. for legacy utfgrid.