Implement the filter method for pipelines
Complete pipeline tests