Add tests for resource_renderer