added test cases for filter methods for process def and instances