Add tests for useCurrentHost and disableGlobalOptions

Good idea. Done.