anchor.diff:        var data = JSON.decode(UTF8.decode(await response.body.first));
         expect(data['error']['message'], 'Missing parameter: \'offset\'');
       });
  -    */
  +
       test('document', () async {
         var json = {'source': 'void main() {print("foo");}', 'offset': 17};
         var response = await _sendPostRequest('dartservices/v1/document', json);
  
positive.code:           contains('failed with errors: [error, line 2] Expected'));
      });
  
      /* XXX: Disabled below tests as they are causing the dart vm to crash.
      test('complete', () async {
        var json = {'source': 'void main() {print("foo");}', 'offset': 1};
        var response = await _sendPostRequest('dartservices/v1/complete', json);
        expect(response.status, 501);
      });
  
      test('complete no data', () async {
  
negative.code:       var json = {'offset': 1};
        var response = await _sendPostRequest('dartservices/v1/complete', json);
        expect(response.status, 400);
      });
  
      test('complete param missing 2', () async {
  