Test API

Add some simple API tests for the following URLs:

* `api/v2/hosts`
* `api/v2/models`

These tests are very simple: only a few simple GET and POST requests are made. However, they set up a pattern for writing other tests. Additionally, these tests provide something to guide the development of the underlying records generation layer.
can we use generate_string here?