Added some tests for the host and path attributes.