adding unit tests for \OC\ActivityManager