stop the config tests from generating a configuration section in the .cfg file

closes #1476
Merge pull request #1477 from eteq/fix-config-test-writing

stop the config tests from generating a configuration section in the astropy.cfg file