implemented render_file test