Make sure locationType is 'auto' for test env.

Tests do not run if you set `locationType` to 'hash' by default, so this sets it to 'auto' explicitly for the test environment.