Checkpoint: port tests over from h2o.
799 unit tests passing.