adding controller to render png files + test