Added tests for filter and config parameter.