Add missing tests for render_png middleware
Integrate PNG fallbacks into modules