refactored a little about how directories and index.html are handled. used TestSettings.init() to allow all tests to reset to a known starting config. fixed Location header to have the hostname (required)