add a test for error throttling
initialize config variable
Merge pull request #519 from Lacrymology/error-throttling-fixes

Error throttling fixes