Added test for regex filter