new_contents: #!/usr/bin/env python
  import sys
  import requests
  import json
  from opentreetesting import config
  DOMAIN = config('host', 'golshost')
  
  
  
  SUBMIT_URI = DOMAIN + '/db/data/ext/GoLS/graphdb/getSourceTreeIDs'
  payload = {}
  #if len(sys.argv) > 1:
  #    payload['queryString'] = ', '.join(sys.argv[1:])
  
  headers = {
      'content-type' : 'application/json',
      'accept' : 'application/json',
  }
  resp = requests.get(SUBMIT_URI,
                       headers=headers,
                       data=json.dumps(payload),
                       allow_redirects=True)
  sys.stderr.write('Sent POST to %s\n' %(resp.url))
  resp.raise_for_status()
  try:
      results = resp.json()
      print 'results =', str(results)
  except:
      print 'Non json resp is:', resp.text
      sys.exit(1)
  if isinstance(results, unicode) or isinstance(results, str):
      print "repr(res.json)=>  %s" % repr(results)
      er = eval(results)
      print type(er)
      print json.dumps(er, sort_keys=True, indent=4)
      sys.exit('Getting JavaScript string. Object expected.')
  else:
      print json.dumps(results, sort_keys=True, indent=4)
  
subject: tweak tnrs test to use context and added GoLS test. Note the new property in the test.conf.example