Created some of the first unit tests for the native API.
Added HTTP API.