Make sure custom locationType doesn't break 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.