test('should handle thrown errors', function () {
  return letta(noReturnFailJsonParse).catch(function (err) {
    test.ifError(!err)
    test.ok(err instanceof Error)
  })