Optimizing baryon acoustic oscillation surveys – I. Testing the concordance ΛCDM cosmology