Updated test cases, added loose filtering to pipeline