Update API host tests

Update API hosts tests according the latest API changes.

Now to create a host medium_id is required. The tests was updated to create a host with the extra required field.