updated tests for processdetailsstrategy
updated media api to output more meaningful errors