Clean up config specs

Use let statements to generate expected config hashes for testing
examples