Fixes media tests