Merge "Add unit tests for AppOpsService."