    expect(resp.headers['content-type']).toBeDefined();
    expect(resp.headers['content-type']).toBe('audio/mp3');
  });

  it('should throw error when messageId is invalid', async () => {
    const senderInfoId = '5a1bcedcac017e4514ea28bb';
    const messageId = 'badmsg00001';
    expect.hasAssertions();
    try {
      const resp = await api.execute(
        createEndPoint(senderInfoId, messageId, api.token),