Added tests for filters
fixed codecoverage tests