Moves trusted filter unit tests into own file

Breaks out trusted filter unit tests into their own file. In the
process, we remove all DB accesses from the unit tests and uncruft the
unit tests with mock.

Change-Id: Ic895b06a9f6a224f153f12ca5ab54dc8be931f13
Merge "Moves trusted filter unit tests into own file"