Converted test for UniformSampler to use a mock receiver
Changed StringMatcherTest to use mocks
Changed StringFilterTest to use mock objects.
Added javadoc comments