Add Minor syntax changes to fix media object controller tests