Refactored the Operation tests to use a data provider