extract as method render_not_found
fix test as not existed snippedt

refs: https://travis-ci.org/iiirc/iiirc/jobs/7261642