Merge "Add the test for the new api canManageMedia" into sc-dev