Tests for creating css tags with media attribute.
Replace auto-generated catch blocks.