Converted the core preFilter test.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>
Converted the core quailBuilderTests.

Signed-off-by: J. Renée Beach <splendidnoise@gmail.com>