spamassassin: 13 new tests. Moved config loading

into register() with callback

remaining changes are to improve testability