Add unit test for pvFilter.