unit tests for AbuseFilter

Change-Id: I242abe5e3c4d1042a925573676b07b6ee69cc485