Added tests for the regex filter.