Add tests for useCurrentHost and disableGlobalOptions

I've added explicit checks on the test above. However, in that case, I cannot access easily the internal xblock config options that have been used. (since the config is per xblock).