Fixes bug 1071347 - Added test for filter