Disable spatial indexes by default

Includes minor tweak to the previous commit, so the flags are named/handled consistently, and fix to the test spatial helper.