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.
Merge pull request #935 from elyezer/api-host-test

Update API host tests