Would be better to extend from AbstractConfigurationErrorTestCase