Some minor updates + added some tests for SpamFilterComponent