fix MediaFile exception test