(API) Port old tests for hosts

Significantly update the definition of class `Host`: modify fields and override
the `build` method to properly create dependent entities. Enable CRUD tests for
hosts in module `test_multiple_paths`. Drop old CRUD tests for hosts.

Slightly clean up module `test_host_v2`.

Fix #1446.
Good catch. This is a syntax error. I started working on this PR about a week ago, and I think I failed to make the code adapt to some of the recent changes.