Update API host tests

Now to create a host medium_id is required. The tests was updated to
create a host with the extra required field.