<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>request</title>
  <meta name="description" content="test that a record can be sent"></meta>
  <script src="/dist/td.js"></script>
</head>
<body>

<script type="text/javascript">
  (function () {
    function setBackground (color) {
      document.body.style.background = color
    }

    function setStatus (text) {
      document.getElementById('status').innerHTML = text
    }

    var td = new Treasure({
      database: 'test_db_request',
      writeKey: '91/96da3cfb876cc50724d0dddef670d95eea2a0018',
      host: 'in-staging.treasuredata.com'
    })

    td.addRecord('add_record', {}, function () {
      setBackground('green')
      setStatus('success')
    }, function () {
      setBackground('red')
      setStatus('failure')
    })
  })()
</script>

<h1 id='status' style="text-align: center;">running</h1>

</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>request</title>
  <meta name="description" content="test that a record can be sent"></meta>
  <script src="/dist/td.js"></script>
</head>
<body>

<script type="text/javascript">
  (function () {
    function setBackground (color) {
      document.body.style.background = color
    }

    function setStatus (text) {
      document.getElementById('status').innerHTML = text
    }

    var td = new Treasure({
      database: 'test_db_request',
      writeKey: '91/96da3cfb876cc50724d0dddef670d95eea2a0018',
      host: 'in-staging.treasuredata.com'
    })

    td.addRecord('add_record', { ramen: 'ラーメン' }, function () {
      setBackground('green')
      setStatus('success')
    }, function () {
      setBackground('red')
      setStatus('failure')
    })
  })()
</script>

<h1 id='status' style="text-align: center;">running</h1>

</body>
</html>

Add an e2e test that includes unicode
Add an e2e test that includes unicode
