Added getRawValue() to Filter

Also updated the unit testing such that it tests that function.