Refined antispam, added unit test.