Updated API and unit tests for Operation Repo