updated tests for mediaapi and processdetailsstrategy