added some pep fixes and asset_media_view tests